package com.chaosyeb.server.service.impl;

import com.chaosyeb.server.service.UserDetailsService;
import org.springframework.security.core.userdetails.UserCache;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.core.userdetails.cache.NullUserCache;
import org.springframework.stereotype.Service;

/**
 * @Description : TODO
 * @Author : Chaos
 * @Date : 2021/12/6 16:30
 * @Version : 1.0
 **/
@Service
public class UserDetailsServiceImpl implements UserDetailsService {

    private UserCache userCache = new NullUserCache();

    @Override
    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
        return null;
    }
}
